package com.cheng.oa.domain;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

public class TbAdvice {
    private Integer id;

    private Integer uid;
    
    
    private Date createdate;

    private String title;

    private String content;
    
    private TbUser user;
    

    
    public Integer getUid() {
		return uid;
	}

	public void setUid(Integer uid) {
		this.uid = uid;
	}

	public TbUser getUser() {
		return user;
	}

	public void setUser(TbUser user) {
		this.user = user;
	}

	public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Date getCreatedate() {
        return createdate;
    }

    public void setCreatedate(Date createdate) {
        this.createdate = createdate;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title == null ? null : title.trim();
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }

	@Override
	public String toString() {
		return "TbAdvice [id=" + id + ", createdate=" + createdate + ", title=" + title + ", content=" + content
				+ ", user=" + user + "]";
	}
    
}